package com.example.aigc_education.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 主题学习资源表
 * @TableName stu_resources
 */
@TableName(value ="stu_resources")
@Data
public class Resources implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long resourceId;

    /**
     * 总结
     */
    private String summary;

    /**
     * 资源链接
     */
    private String learningLink;

    /**
     * 
     */
    private String extInfo;

    /**
     * 
     */
    private Long themeId;

    /**
     * 
     */
    private Integer status;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT)
    private Long createBy;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateBy;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}